* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}


.layout {
    height: 100vh;
}

.header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    margin-bottom: 10px;
    padding-left: 50px;
    display: flex;
    position: sticky;
    top: 0;
}

.icon {
    width: 150px;
    height: 100%;
    padding: 15px 20px;
}

.icon img {
    width: 103px;
    vertical-align: middle;
}

form {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

input,
button {
    border: none;
    outline: none;
}

/*搜索框*/
.bar {
    width: 40%;
}

.bar input {
    width: 100%;
    height: 42px;
    padding-left: 13px;
    border: 2px solid #c4c7c1;
    border-radius: 5px;
    background: transparent;
    top: 0;
    right: 0;
}

.bar button {
    width: 20%;
    height: 42px;
    padding: 0 5px;
    background: #4e6ef2;
    border-radius: 0 5px 5px 0;
    top: 0;
    right: 0;
    cursor: pointer;
    position: absolute;
}

.bar button:before {
    content: "Briup一下";
    font-size: 13px;
    color: #fff;
}

#container {
    /* height: 77%; */
    min-height: 77%;
    /* background-color: blueviolet; */
    margin-bottom: 10px;
    display: flex;
}

.search {
    height: 100%;
    width: 60%;
    margin-left: 7%;
    /* background-color: chartreuse; */
}


.search li {
    margin-bottom: 15px;
    cursor: pointer;
}

.search .news-item {
    margin: 10px 0;
    display: flex;
}

.search .news-item img {
    width: 128px;
    border-radius: 10px;
    display: inline-block;
}

.search .news-item .text {
    padding-left: 15px;
}

.search .news-item .time {
    font-size: 13px;
    color: #9195a3;
}

.search .news-item .content {
    font-size: 13px;
    line-height: 20px;
    color: #000;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
}

.text a {
    font-size: 13px;
}

.no-pic-text {
    padding-left: 0;
}

.no-pic-text a {
    font-size: 13px;
}

.hot {
    height: 100%;
    width: 40%;
    padding:0 100px;
    margin-left: 100px;
    margin-top: 80px;
}

.hot-title {
    margin-bottom: 20px;
    margin-left: -17px;
}

.hot li {
    margin-bottom: 10px;
    list-style-type: decimal;
}

.footer {
    /* height: 10%; */
    background-color: #f5f6f5;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.footer nav {
    display: block;
    margin-right: 4%;
    position: absolute;
    right: 0;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.pagination>li {
    display: inline;
    text-align: -webkit-match-parent;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination .active {
    background-color: #337ab7;
    color: #fff;
}

.page-drop {
    padding: 20px;
    margin-left: 5%;
}

.page-drop button {
    width: 100px;
    height: 36px;
    border-color: #ccc;
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background-color: #fff;
}


#drop-ul {
    margin-top: -8px;
    display: none;
    width: 100px;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 7px;
}

#drop-ul>li:first-child {
    margin-top: 5px;
}

#drop-ul>li {
    padding: 5px 0;
}

#drop-ul>li>a {
    color: #000;
}